package org.example.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class Clan {
    public Clan(Date currentTime){
        createTime=currentTime;
        updateTime=currentTime;
        exits=1;
        humanLimit=100;
    }
    @TableId
    public int id;
    public String clanName;
    public int humanLimit;

    public Date createTime;
    public Date updateTime;
    public int exits;
    public int humanNum;
}
